# $NetBSD: Makefile,v 1.5 2012/10/07 20:11:08 asau Exp $


BROKEN=		xchat is no more, and this has not been converted to hexchat (deletion 2019-08-20)

#.include "../../chat/xchat/Makefile.common"

PKGNAME=	${DISTNAME:S/-/-tcl-/}
COMMENT=	TCL scripting plugin for xchat

DEPENDS+=	xchat>=2.0.0:../../chat/xchat

BUILD_DIRS=	plugins/tcl

CONFIGURE_ARGS+=	--disable-gtkfe
CONFIGURE_ARGS+=	--enable-tcl=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ARGS+=	--disable-perl
CONFIGURE_ARGS+=	--disable-python

#SUBST_CLASSES=		paths
#SUBST_STAGE.paths=	post-patch
#SUBST_FILES.paths=	configure
#SUBST_SED.paths=	-e "s|$tcl /lib|${PREFIX}/lib|g"
#SUBST_MESSAGE.paths=	Fixing paths.

.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
